<template>
  <tab-bar>
    <tab-bar-item path="/home" activecolor="deeppink">
      <template #img>
        <img src="@/assets/img/tabbar/home.png" alt="" />
      </template>
      <template #imga>
        <img src="@/assets/img/tabbar/homea.png" alt="" />
      </template>
      <template #title>
        <div>首页</div>
      </template>
    </tab-bar-item>
    <tab-bar-item path="/category" activecolor="deeppink">
      <template #img>
        <img src="@/assets/img/tabbar/category.png" alt="" />
      </template>
      <template #imga>
        <img src="@/assets/img/tabbar/categorya.png" alt="" />
      </template>
      <template #title>
        <div>分类</div>
      </template>
    </tab-bar-item>
    <tab-bar-item path="/cart" activecolor="deeppink">
      <template #img>
        <img src="@/assets/img/tabbar/car.png" alt="" />
      </template>
      <template #imga>
        <img src="@/assets/img/tabbar/cara.png" alt="" />
      </template>
      <template #title>
        <div>购物车</div>
      </template>
    </tab-bar-item>
    <tab-bar-item path="/profile" activecolor="deeppink">
      <template #img>
        <img src="@/assets/img/tabbar/profile.png" alt="" />
      </template>
      <template #imga>
        <img src="@/assets/img/tabbar/profilea.png" alt="" />
      </template>
      <template #title>
        <div>我的</div>
      </template>
    </tab-bar-item>
  </tab-bar>
</template>

<script>
import TabBar from '../../common/tabbar/TabBar'
import TabBarItem from '../../common/tabbar/TabBarItem'
export default {
  components: {
    TabBar,
    TabBarItem
  }
}
</script>

<style></style>
